var express = require('express');
var router = express.Router();

const goodsService = require("../service/goodsService")
router.get("/", async function (req, res, next) {
    const data = await goodsService.getGoods();
    res.send(data);
})


module.exports = router;